package com.woniu.demo.dao;

import com.woniu.demo.pojo.Standard;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface StandardMapper {
    int deleteByPrimaryKey(Integer id);

    int insert(Standard record);

    int insertSelective(Standard record);

    Standard selectByPrimaryKey(Integer id);

    int updateByPrimaryKeySelective(Standard record);

    int updateByPrimaryKey(Standard record);

    public List<Standard> queryStandardsByPage(@Param("currentPage") Integer currentPage,@Param("pageSize") Integer pageSize,@Param("condition")String condition);

    public int deleteBatch(Integer[] keys);
}